package com.jingtai.shop.service.user;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jingtai.core.entity.member.MemberCollectGoods;

/**
 * 收藏商品
 */
public interface MemberCollectGoodsService extends IService<MemberCollectGoods> {

    /**
     * 用户查看自己收藏的商品列表
     */
    Page<MemberCollectGoods> showCollectGoods(Long userId, String goodsTitle, Long pageNo, Long pageSize);

    /**
     * 点击收藏/取消商品
     */
    boolean collectGoods(String goodsCode,Long userId,Integer collectStatus);


}
